Contributing
CloudCatalog resources are either enriched or not-enriched with information from AWS.
If you would like to add enrichment to your resource and contribute to CloudCatalog here is a guide on how to get started.
Resources
The @cloudcatalog/cli import-resource
command supports many resources, to enrich a resource you will need too:
-
Add a new file to the resources directory /packages/cloudcatalog-cli/src/resources
-
Export functions
getData
,getMarkdown
andgetFileName
. Look at Lambda for an examplegetData
- Returns the frontmatter for the resource typegetMarkdown
- Returns default markdown for this resource.getFileName
- Returns the name of the file that will get written to cloudcatalog.
-
Use the AWS SDK to enrich a resource and return this information in the
getData
function. -
Write tests for your new resource you can find examples here
Updating documentation
Once you are happy with your new resource, and have written tests. Raise a pull request and we can support writing documentation for your new resource.
Contributions can help
CloudCatalog foundations have been built, if you find this project useful and want to help, we need resources building built out. If you have any questions feel free to reach out on Discord.